package smcms.service.cloudstore.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import smcms.service.cloudstore.entity.*;

import java.util.List;

@Mapper
public interface StoreManagerMapper {

    void addCloudStore(CloudStoreReq req);

    void addProductType(@Param("categoryList") List<ProductCategoryReq> req);

    void updateCloudShopKeeper(CloudStoreReq req);

    StaffInfoResp queryUser(@Param("Account") String Account,@Param("companyId") String companyId);

    void delCloudStore(String cloudStoreId);

    List<CloudStoreResp> queryCloudStore(@Param("req") CloudStoreReq req,@Param("idList") List<StaffInfoResp> idList);

    List<CloudStoreResp> queryCloudStoreList(String username);
}
